<?php
/* @var $this CmpPunishController */
/* @var $model CmpPunish */

$this->breadcrumbs=array(
	'综合控制台'=>array($this->pre_module_url.'/index/index'),
	'客户服务'=>array($this->pre_module_url.'/cmpServices/admin'),
	'违规管理'=>array($this->pre_module_url.'/cmpPunish/admin'),
);

?>

<div class="pro_filter c_f">
	<div class="filter f_l">
		<form method="post" action="">
			<label>违规时间：
			<select name="" class="s_ipt w_120">
				<option selected="selected" value="0">近三个月</option>
				<option value="1">三个月之前</option>
			</select></label>
			<label>违规类型：
			<select class="s_ipt w_120" name="">
				<option value="0" selected="selected">全部</option>
			</select></label>
			<input class="t_ipt w_250" type="text" name="" maxlength="50" value="请输入店铺名称" onfocus="this.value=''" onblur="this.value='请输入店铺名称'" />
			<button class="mem_bgx mem_btn01" type="submit" name="">查找</button>
		</form>
	</div>
</div>

 <table class="list_table list_table2" cellpadding="0" cellspacing="0" width="100%">
<tr>
	<th width="" class="pl15">记录编号</th>
	<th width="16%">店铺名称</th>
	<th width="15%">规则行为</th>
	<th width="10%">扣分</th>
	<th width="15%">影响</th>
	<th width="16%">处理时间</th>
	<th width="8%">操作</th>
</tr>
</table>

<?php   
$this->widget('zii.widgets.CListView', array(  
    'dataProvider'=>$model->search(),  
    'itemView'=>'_view',    
    'emptyText'=>'暂时没有数据',  
    'selectAll'=>array('ids[]','id[]'),  
	'itemsTagName'=>'table',
	'itemsOptions'=>array('class'=>'list_table list_table2','width'=>'100%','cellpadding'=>0,'cellspacing'=>0),
    'artLink'=>array(  
		//批量删除  
        array(Yii::t('adm','Delete All'),$this->pre_module_url.'/cmpPunish/delete','确认批量删除选中的信息！'),  
    ),  
    'batchItem'=>array(  
        //移动到分类  
        CHtml::link('创建违规'.'<b class="mem_bgx left"></b><b class="mem_bgx right"></b>',array($this->pre_module_url.$this->pre_module_url.'/admin'),array('class'=>'mem_bgx link_btn mr10')),  
        //添加到分类  
        CHtml::link('规则设置'.'<b class="mem_bgx left"></b><b class="mem_bgx right"></b>',array('punishSet'),array('class'=>'mem_bgx link_btn mr10')), 
    ),  
    ));  
?>  
